2021-04-11 05:24:07 (CEST) cTI start
% cTI_lt 0.25 using 23.619 MLIPS SICStus 3.8.5 (x86-linux-glibc2.1): Mon Oct 30 16:34:14 CET 2000.
% cTI: Rt=36ms, Wt=37ms. NTI: Rt=0ms, Wt=1ms at most 72 inferences for useful informations.
% NTI summary: Complete result is optimal.
app(A,B,C)terminates_if b(A);b(C).
% optimal. loops found: [app([A|_],x,[A|_])]. NTI took 0ms,72i,72i
% Comparison with termination analyzers
% A termination analyser of identical power would verify
% with the following 3 proofs the 1 inferred condition:
app(f, f, b).
% ==> termination proof established
app(b, f, f).
% ==> termination proof established
app(f, b, f).
% ==> no proof found
2021-04-11 05:24:07 (CEST)
cTI finishedTooltip: You can skip this comparison with termination analyzers by selecting "Comp. skipped" above
Analyzed program:
app([], Zs, Zs). app([X|Xs], Ys, [X|Zs]) :- app(Xs, Ys, Zs).